/*
 * OREKIT-X
 * Copyright 2002-2008 CS Communication & Systemes
 * 
 * Parts of this software package have been licensed to CS
 * Communication & Systemes (CS) under one or more contributor license
 * agreements.  See the NOTICE file distributed with this work for
 * additional information.
 *  
 * This is an experimental copy of OREKIT from www.orekit.org.
 * Please use the original OREKIT from orekit.org for normal work
 * unrelated to this research project.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you
 * may not use this file except in compliance with the License.  You
 * may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 * implied.  See the License for the specific language governing
 * permissions and limitations under the License.
 */
package ore.data;

/**
 * Elements of the bodies having an effect on nutation.
 * 
 * @author Luc Maisonobe
 */
public final class BodiesElements 
    extends Object
    implements java.io.Serializable
{

    /**
     * Mean anomaly of the Moon.
     */
    private final double l;
    /** 
     * Mean anomaly of the Sun.
     */
    private final double lPrime;
    /** 
     * L - &Omega; where L is the mean longitude of the Moon.
     */
    private final double f;
    /** 
     * Mean elongation of the Moon from the Sun.
     */
    private final double d;
    /** 
     * Mean longitude of the ascending node of the Moon.
     */
    private final double omega;
    /** 
     * Mean Mercury longitude.
     */
    private final double lMe;
    /** 
     * Mean Venus longitude.
     */
    private final double lVe;
    /** 
     * Mean Earth longitude.
     */
    private final double lE;
    /** 
     * Mean Mars longitude.
     */
    private final double lMa;
    /** 
     * Mean Jupiter longitude.
     */
    private final double lJu;
    /** 
     * Mean Saturn longitude.
     */
    private final double lSa;
    /** 
     * Mean Uranus longitude.
     */
    private final double lUr;
    /** 
     * Mean Neptune longitude.
     */
    private final double lNe;
    /** 
     * General accumulated precession in longitude.
     */
    private final double pa;


    /** 
     * @param l Mean anomaly of the Moon
     * @param lPrime Mean anomaly of the Sun
     * @param f L - &Omega; where L is the mean longitude of the Moon
     * @param d Mean elongation of the Moon from the Sun
     * @param omega Mean longitude of the ascending node of the Moon
     * @param lMe Mean Mercury longitude
     * @param lVe Mean Venus longitude
     * @param lE Mean Earth longitude
     * @param lMa Mean Mars longitude
     * @param lJu Mean Jupiter longitude
     * @param lSa Mean Saturn longitude
     * @param lUr Mean Uranus longitude
     * @param lNe Mean Neptune longitude
     * @param pa General accumulated precession in longitude
     */
    public BodiesElements(double l, double lPrime, double f, double d, double omega,
                          double lMe, double lVe, double lE, double lMa, double lJu,
                          double lSa, double lUr, double lNe, double pa)
    {
        super();
        this.l      = l;
        this.lPrime = lPrime;
        this.f      = f;
        this.d      = d;
        this.omega  = omega;
        this.lMe    = lMe;
        this.lVe    = lVe;
        this.lE     = lE;
        this.lMa    = lMa;
        this.lJu    = lJu;
        this.lSa    = lSa;
        this.lUr    = lUr;
        this.lNe    = lNe;
        this.pa     = pa;
    }


    /** 
     * @return Mean anomaly of the Moon
     */
    public double getL() {
        return this.l;
    }
    /** 
     * @return Mean anomaly of the Sun.
     */
    public double getLPrime() {
        return this.lPrime;
    }
    /** 
     * @return L - &Omega;; L is the mean longitude of the Moon.
     */
    public double getF() {
        return this.f;
    }
    /** 
     * @return Mean elongation of the Moon from the Sun.
     */
    public double getD() {
        return this.d;
    }
    /** 
     * @return Mean longitude of the ascending node of the Moon.
     */
    public double getOmega() {
        return this.omega;
    }
    /** 
     * @return Mean Mercury longitude.
     */
    public double getLMe() {
        return this.lMe;
    }
    /** 
     * @return Mean Venus longitude.
     */
    public double getLVe() {
        return this.lVe;
    }
    /** 
     * @return Mean Earth longitude.
     */
    public double getLE() {
        return this.lE;
    }
    /** 
     * @return Mean Mars longitude.
     */
    public double getLMa() {
        return this.lMa;
    }
    /** 
     * @return Mean Jupiter longitude.
     */
    public double getLJu() {
        return this.lJu;
    }
    /** 
     * @return Mean Saturn longitude.
     */
    public double getLSa() {
        return this.lSa;
    }
    /** 
     * @return Mean Uranus longitude.
     */
    public double getLUr() {
        return this.lUr;
    }
    /** 
     * @return Mean Neptune longitude.
     */
    public double getLNe() {
        return this.lNe;
    }
    /** 
     * @return General accumulated precession in longitude.
     */
    public double getPa() {
        return this.pa;
    }
}
